﻿namespace LiSAClient.WpfClient.Utils
{
    using System;

    /// <summary>
    /// Used along with <see cref="AssemblyLoader"/>, for forcing all assemblies to be loaded at runtime.
    /// </summary>
    [AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)]
    public class InitializeOnLoadAttribute : Attribute
    {
        private readonly Type type;

        public InitializeOnLoadAttribute(Type type)
        {
            this.type = type;
        }

        public Type Type
        {
            get
            {
                return type;
            }
        }
    }
}
